<template>
  <div class="swipers">
    <swiper :options="swiperOption">
      <swiper-slide>
        <img class="swipe-img" src="https://mp-piao-admincp.qunarzz.com/mp_piao_admin_mp_piao_admin/admin/201911/6da1597f11456f5a42a1818ab3f6fa08.jpg_750x200_31b64c4a.jpg" alt="去哪儿门票" style="opacity: 1;">
      </swiper-slide>
      <swiper-slide>
        <img class="swipe-img" src="https://imgs.qunarzz.com/piao/fusion/1809/3e/52e1824f1ace7202.jpg_750x200_ac90db3f.jpg" alt="去哪儿门票" style="opacity: 1;">
      </swiper-slide>
      <swiper-slide>
        <img class="swipe-img" src="https://mp-piao-admincp.qunarzz.com/mp_piao_admin_mp_piao_admin/admin/201911/2b49658e97197ebb14e591fdfebc1c2d.png_750x200_be896fb6.png" alt="去哪儿门票" style="opacity: 1;">
      </swiper-slide>
      <swiper-slide>
        <img class="swipe-img" src="https://mp-piao-admincp.qunarzz.com/mp_piao_admin_mp_piao_admin/admin/201911/1d8faa9f4d49b77ca1e61e2b478260f7.jpg_750x200_25cf76e2.jpg" alt="去哪儿门票" style="opacity: 1;">
      </swiper-slide>
      <swiper-slide>
        <img class="swipe-img" src="https://mp-piao-admincp.qunarzz.com/mp_piao_admin_mp_piao_admin/admin/201910/e7eac5a5e99e6517c61b953c0fece63b.jpg_750x200_4b701cf8.jpg" alt="去哪儿门票" style="opacity: 1;">
      </swiper-slide>
      <div class="swiper-pagination" slot="pagination"></div>
    </swiper>
  </div>
</template>

<script>
export default {
  name: 'HomeSwiper',
  data () {
    return {
      swiperOption: {
        autoplay: {
          delay: 2500,
          disableOnInteraction: false
        },
        pagination: {
          el: '.swiper-pagination'
        },
        loop: true
      }
    }
  }
}
</script>

<style lang="stylus" scoped="scoped">
  .swipers
    img
      width 100%
</style>
